﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mseeage_save.aspx.cs" Inherits="TRPOP.CMS.Web.cms.Message.mseeage_save" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>留言信息管理</title>
    <script src="../../js/utils.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return CheckForm(this);">
    <table id="page_navigator">
        <tr>
            <td class="align_l">
                当前位置：系统管理 -> 留言管理->编辑留言信息
            </td>
        </tr>
    </table>
    <table class="table_form" border="0px">
        <tr class="tr_title">
            <th colspan="2">
                留言信息
            </th>
        </tr>
        <tr class="tr_item">
            <th width="20%">
                留言标题：
            </th>
            <td>
                <cms:TextBox prompt="留言标题" required="1" ControlValueType="None" ID="txtMessageTitle"
                    runat="server" MaxLength="180"></cms:TextBox><span class="FontWarn">*</span><span
                        class="sp_tiptitle">不能超过180个字符！</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                留言内容：
            </th>
            <td>
                <cms:TextBox prompt="留言内容" required="1" ControlValueType="None" ID="txtMessageContent"
                    runat="server" TextMode="MultiLine" Height="80px" Width="280px"></cms:TextBox>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                类型：
            </th>
            <td>
                <cms:DropDownList ID="ddlType" runat="server" prompt="类型" required="1" type="select-one"
                    defaultValue="0">
                </cms:DropDownList>
                <span class="FontWarn">*</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                状态：
            </th>
            <td>
                <asp:DropDownList ID="ddlStatus" runat="server" prompt="状态" required="1" type="select-one"
                    defaultValue="0">
                </asp:DropDownList>
                <span class="FontWarn">*</span>
            </td>
        </tr>
        <tr class="tr_item" style="display: none;">
            <th>
                收件人ID：
            </th>
            <td>
                <cms:TextBox ID="txtMesageSendID" runat="server" MaxLength="18"></cms:TextBox><span
                    class="sp_tiptitle">不能超过18个字符！</span>
            </td>
        </tr>
        <tr class="tr_item" style="display: none;">
            <th>
                收件人姓名：
            </th>
            <td>
                <cms:TextBox ID="txtMesageSendName" runat="server" MaxLength="18"></cms:TextBox><span
                    class="sp_tiptitle">不能超过18个字符！</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                联系人：
            </th>
            <td>
                <cms:TextBox ID="txtContactName" runat="server" MaxLength="18"></cms:TextBox><span
                    class="sp_tiptitle">不能超过18个字符！</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                性别：
            </th>
            <td>
                <cms:RadioButtonList ID="rbtlGender" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="0" Selected="True">男</asp:ListItem>
                    <asp:ListItem Value="1">女</asp:ListItem>
                </cms:RadioButtonList>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                电话：
            </th>
            <td>
                <cms:TextBox ID="txtPhone" runat="server" MaxLength="18"></cms:TextBox>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                手机：
            </th>
            <td>
                <cms:TextBox ID="txtMobile" runat="server" MaxLength="18"></cms:TextBox>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                E-mail：
            </th>
            <td>
                <cms:TextBox ID="txtEmail" runat="server" valuetype="Email" MaxLength="180"></cms:TextBox><span
                    class="sp_tiptitle">不能超过180个字符！</span>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                邮编：
            </th>
            <td>
                <cms:TextBox ID="txtZipcode" runat="server" MaxLength="18"></cms:TextBox>
            </td>
        </tr>
        <tr class="tr_item">
            <th>
                地址：
            </th>
            <td>
                <cms:TextBox ID="txtAddress" runat="server" MaxLength="180"></cms:TextBox><span class="sp_tiptitle">不能超过180个字符！</span>
            </td>
        </tr>
        <tr class="tr_item">
            <td colspan="2" class="td_c">
                <cms:Button CssClass="button_style" ID="btnSubmit" Text="确定" runat="server" OnClick="btnSubmit_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input class="button_style" type="reset" name="btreset" value="重置" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input class="button_style" type="button" onclick="window.location.href='message_list.aspx';"
                    name="btreset" value="返回" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
